// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.

.post--editing__wrapper {
    position: relative;

    textarea, #edit_textbox_placeholder {
        padding: 13px 16px 12px 16px;
        padding-right: 50px;
    }

    .edit-post-footer {
        &.has-error {
            color: rgb(var(--dnd-indicator-rgb));
        }
    }
}

.post-edit__container {
    padding-top: 8px;
    background: transparent;

    .AdvancedTextEditor {
        padding: 0;
    }

    [data-testid='formattingBarContainer'] {
        background-color: var(--center-channel-bg);;
    }

    .custom-textarea {
        padding: 13px 0 12px 16px;
    }

    .AdvancedTextEditor__body {
        .AutoHeight {
            background-color: var(--center-channel-bg);
        }
    }

    .AdvancedTextEditor__footer {
        padding-inline: 0;
    }
}
